package com.example.onlinemusic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.onlinemusic.common.R;
import com.example.onlinemusic.model.domain.Admin;
import com.example.onlinemusic.model.request.AdminRequest;

import javax.servlet.http.HttpSession;

/**
 * Admin接口类
 */
public interface AdminService extends IService<Admin> {

    /**
     * 用于管理端的登录
     * @param adminRequest 请求参数对象
     * @param session
     * @return R公共结果集
     */
    R verityPasswd(AdminRequest adminRequest, HttpSession session);


}
